package com.evry.repository;

import java.util.List;

import com.evry.domain.collateralitem.CollateralItem;


public interface CollateralItemDao {

    /**
     * Get all collateralitems need to be converted.
     * 
     * @return list of {@link CollateralItem}
     */
    List<CollateralItem> getAllCollateralItems();
    
    /**
     * Find mortgage information by given collateralItem.
     * 
     * @param collateralItem {@link CollateralItem} to be set 
     */
    void setMortgages(CollateralItem collateralItem);
    
    /**
     * 
     * @param collateralItem
     */
    void setMortgagors(CollateralItem collateralItem);
}
